<?php
	namespace Home\Model;
	use Think\Model;
	
	class UserInfoModel extends Model
	{
		public $tableName = "userinfo";
		
		//验证规则
		public $_validate = array(
			array("userName","require","请输入用户名！"),
			array("password","require","请输入密码！"),
			array("checkCode","require","请输入验证码！"),
		);
	}
?>











